Method of processing images for the correction of the distortions in a cathode ray tube

ABSTRACT

The invention relates to a method of processing video images which is intended to correct the distortions created by the instability of the high voltage circuit of the cathode ray tube display device during the displaying of the images. It is more particularly intended for correcting the global zoom and the local zoom affecting the images displayed by the cathode ray tube device.

FIELD OF THE INVENTION

The invention concerns a method of processing images for the correction of the distortions in a cathode ray tube. More particularly, the invention concerns the distortions related to the problems of regulating the high voltage.

BACKGROUND OF THE INVENTION

In the design of current cathode ray tube televisions, certain defects are neglected on account of their weak perception during the displaying of the video images. Such is the case of the residual defect of stability of the high voltage electronics of the television. When one attempts to display images comprising straight lines, as for example images of information technology type, this defect modifies the appearance of these lines which then look deformed on the screen.

The occurrence of this defect is dependent on the luminous intensity of the images displayed. The distortion generated takes on two forms depending on whether the luminous intensity of the image is average or high. Here, the luminous intensity of an image denotes the sum of the grey levels of the three components R, G and B of the collection of pixels of the image, this sum being weighted by the television adjustment factors, namely light, contrast and colour.

Thus, when the luminous intensity of the current image is average, the distortion takes the form of a zoom affecting the entire image, called the global zoom, whose factor varies as a function of the intensity of the current image and of the previous images. This distortion is shown in FIG. 1B representing an image of average luminous intensity, to be compared with FIG. 1A, representing the same image but with a weaker luminous intensity.

This global zoom increases as the luminous intensity of the image increases. A high luminous intensity value having been reached, the global zoom ceases to increase and is supplemented with an X-wise zoom (horizontal) varying according to the lines of the image. This case is illustrated in FIG. 1C.

To suppress these zoom effects, it is known to regulate the high voltage independently for the gun and the deflectors of the tube. This solution is relatively expensive and hardly usable in a television for the mass market. Less expensive solutions consist in using a circuit for regulating the high voltage supply voltage which reacts as a function of the voltage of the gun. Such regulation makes it possible to obtain good results for television images but does not allow correct screening of strongly contrasted images such as computer screens when the television is used as a monitor.

SUMMARY OF THE INVENTION

An aim of the invention is to propose a less expensive solution which makes it possible to correct the distortions created by the variation in the supply voltage to the cathode ray tube. According to the invention, these distortions are corrected by a processing of the images prior to their display.

Hence, the invention is a method of processing a sequence of video images to be displayed with a cathode ray tube display device, which method is intended to correct the distortions created by the instability of the high voltage circuit of the cathode ray tube during the displaying of said images and is characterized in that it consists in:

-   -   characterizing the distortions created by the cathode ray tube,         and     -   for each image of the sequence to be displayed, calculating the         distortions affecting it and generating a precorrected image         comprising the inverse distortions.

More particularly, if the intensity of the image to be displayed is not very high, the distortion affecting the displaying of the current image is a global zoom varying as a function of the luminous intensity of said current image and of that of the images which precede it in the sequence to be displayed. According to the invention, the following steps are then performed:

-   -   determining the global zoom created by the cathode ray tube as a         function of the luminous intensity of the current image and of         that of the previous images; and     -   for each image of the sequence to be displayed, calculating the         global zoom affecting the current image and generating a         precorrected image by applying the inverse of said global zoom         to said current image.

Otherwise, if the intensity of the image to be displayed is very high, the distortion affecting the displaying of the current image is twofold. It consists of a global zoom varying as a function of the luminous intensity of said current image and of that of the images which precede it in the sequence to be displayed and a local zoom affecting each line of the current image and varying as a function of the intensity of the line considered and of those of the lines which precede it in said current image. According to the invention, the following steps are then performed:

-   -   characterizing the global zoom created by the cathode ray tube         as a function of the luminous intensity of the current image and         of that of the previous images;     -   characterizing the local zoom created by the cathode ray tube as         a function of the luminous intensity of the line considered and         of that of the previous lines in the image; and     -   calculating the global zoom affecting the current image and the         local zooms affecting each of its lines and generating a         precorrected image by applying, to the whole image, the inverse         of said global zoom and, to each of its lines, the inverse of         the local zoom calculated for the line considered.

The subject of the invention is also a cathode ray tube display device implementing this method of image processing.

BRIEF DESCRIPTION OF THE DRAWINGS

The characteristics and advantages of the invention which were mentioned above, as well as others, will be more clearly apparent on reading the following description, given in conjunction with the appended drawings in which:

FIG. 1A to 1C illustrate the display defects due to the instability of the high power circuit of the cathode ray tubes;

FIG. 2A to 2B illustrate, in the form of charts, the variation in the vertical zoom and in the horizontal zoom of the current image I_(n) as a function of its luminous intensity;

FIG. 3 illustrates the operation aimed at calculating a precorrected image of the current image on the basis of the source current image; and

FIG. 4 summarizes the steps applied to the source video image according to the invention.

DESCRIPTION OF THE DRAWINGS

The first step of the image processing method of the invention consists in characterizing the defects of the cathode ray tube. This step is carried out at the end of the plant for manufacturing the cathode ray tube television or monitor.

As indicated previously the distortions occur when the luminous intensity of the image reaches an average value and appear differently depending on whether the intensity of the current image is average or high. When the luminous intensity of the current image is average, the image is dilated along both dimensions of the image (X and Y) and affects the whole image. One then speaks of global zoom. The zoom factor varies linearly as a function of the intensity of the current image and of the images which precede it in the sequence to be displayed.

The global zoom affecting a current image, I_(n), may be modelled as a function of its intensity and of that of the K images preceding it: $\begin{matrix} {{{ZG}\left( I_{n} \right)} = \frac{{\sum\limits_{k = 0}^{K}{a_{- k}{i\left( I_{n - k} \right)}}} + {b\left( I_{n - k} \right)}}{K + 1}} & (1) \end{matrix}$ where

-   -   ZG(I_(n)) denotes the global zoom of the image I_(n);     -   i(I_(n−k)) denotes the intensity of the image I_(n−k);     -   a_(−k=)0 if i(I_(n−k))<i_(s1)         -   α_(−k) if i_(s1)<i(I_(n−k))<i_(s2)         -   β_(−k) if i_(s2)<i(I_(n−k))<i_(s3)         -   0 if i(I_(n−k))>i_(s3)     -   b(I_(n−k))=1 if i(I_(n−k))<i_(s1)         -   1−α_(−k)·i_(s1) if i_(s1)<i (I_(n−k))<i_(s2)         -   1−β_(−k)·i_(s2)+α_(−k)·(i_(s2)−i_(s1)) if i_(s2)<i             (I_(n−k))<i_(s3)         -   1−α_(−k)·(i_(s2)−i_(s1))−β_(−k)·(i_(s3)−i_(s2)) if             i(I_(n−k))>i_(s3)

The terms i_(s1), i_(s2) and i_(s3) are luminous intensity threshold values and the terms α_(−k) et β_(−k) are zoom factors associated with the image I_(n−k).

The variations in the Y-wise and X-wise zoom affecting the current image I_(n) as a function of its luminous intensity are represented, in the form of charts, in FIGS. 2A and 2B respectively. Z_(X)(I_(n)) and Z_(Y)(I_(n)) designate respectively the X-wise zoom and the Y-wise zoom of the image I_(n). In both cases, the zoom (Z_(XorY)(I_(n))>1) commences from the threshold value i_(s1). It increases linearly according to a first zoom factor α₀ up to the second threshold value i_(s2) then according to a second zoom factor β₀ up to a third threshold value i_(s3). Beyond this value of luminous intensity, the Y-wise zoom no longer increases and remains constant whilst the X-wise zoom varies line by line. A phenomenon of X-wise local zoom is in fact added to the X-wise and Y-wise global zoom onwards of the threshold value i_(s3). This local zoom is specific to each line of the image and depends on the intensity of the previous lines in the image considered. The hatched area of FIG. 2B represents the zone of variation of the X-wise local zoom.

The variation in the X-wise local zoom of the line L_(m+1) is given by the following formula: $\begin{matrix} {{{{ZL}_{x}\left( L_{m + 1} \right)} = {1 + {p\left( L_{m + 1} \right)}}}\text{with:}{{P\left( L_{m + 1} \right)} = {{{{A\left( {\frac{2f_{m + 1}^{\prime}}{f_{m}} - \frac{1}{T}} \right)} \cdot {p\left( L_{m} \right)}}\quad{and}\quad f_{m + 1}^{\prime}} = {{i\left( L_{m + 1} \right)}/S}}}} & (2) \end{matrix}$ where

-   -   i(L_(m+1)) denotes the intensity of the line L_(m+1);     -   A, S and T are constants;     -   f_(m) is a function defined in the following manner:         $f_{m} = \sqrt{{p\left( L_{m} \right)}{\mathbb{e}}^{\frac{t}{T}}}$     -    with t=m·τ (the time t is proportional to the line index m).

The characterization of the defects of the cathode ray tube therefore consists in determining, for example, the formulae (1) and (2) and the parameters specific to the cathode ray tube used which come into these formulae, namely the threshold values i_(s1), i_(s2) et i_(s3) and the zoom factors α_(−k) and β_(−k).

These parameters are measured experimentally, once and for all, in the factory after manufacture of the tube.

The next step consists in calculating, for each image of the sequence to be displayed, the zoom affecting it. To this end, for each new image to be displayed, the zoom affecting it is calculated with the aid of formulae (1) and (2). This step requires prior calculation of the luminous intensity of each new image. To do this, the column-wise and row-wise sum of the levels displayed in the image is calculated, weighted by the television adjustment factors. This intensity value is stored since it is used for the calculation of the zoom affecting the current image and the K images to follow.

With the aid of formula (1), the global zoom is thus calculated for each new image. According to this formula, an image is affected by a global zoom (ZG>1) if its luminous intensity or the luminous intensity of one of the K images preceding it (K≧5) is greater than the threshold value i_(s1). If its global intensity exceeds i_(s3), it is also affected by a local zoom in each line of the image. The local zoom of each line is calculated through formula (2).

The next step of the method of the invention consists in generating a precorrected image opposing the defects of the tube. This image is obtained by applying, to the source current image received by the television, a zoom which is the inverse of that resulting from the previous step. This inverse zoom causes a displacement of the pixels of the image. For example, the pixel with coordinates (x₁,y₁) in the current image is displaced by the displacement vector (dx₁,dy₁) and has coordinates (x₁+dx₁,y₁+dy₁) in the precorrected image.

In practice, to create the precorrected image, one starts from an “empty” image containing pixels all having for example a level 0 for each colour and one fills it in with the video levels of the pixels of the current image after application of the inverse zoom. Thus, the pixel with coordinates (x₁,y₁) in the precorrected image receives the video level of the pixel with coordinates (x₁+dx₁,y₁+dy₁), of the current image, as shown in FIG. 3. If either of the displacements dx₁ or dy₁, or both, does not correspond to a whole number of pixels, an interpolation is performed, for example of bilinear type, to determine from the video levels of the 4 pixels neighbouring the pixel with coordinates (x₁+dx₁,y₁+dy₁) in the current image, the video level of the pixel with the coordinates (x₁,y₁) in the precorrected image.

A bilinear-type interpolation is illustrated in FIG. 3. Considered in this figure is a pixel with coordinates (s,t) relative to a pixel with coordinates (x₁,y₁) in the current image. Its luminous intensity i_(x1+s,y1+t) is calculated in the following manner: i _(x1+s,y1+t)=(1−t)[(1−s)·i _(x1,y1) +s·i _(x1,y1+1) ]+t[(1−s)·i _(x1+1,y1) +s·i _(x1+1,y1+1)]

Other types of interpolation, pertaining for example to a larger number of neighbouring pixels, may be envisaged.

The processing steps for the source current image are summarized in the flow chart of FIG. 4:

-   -   calculate the global luminous intensity i of each new image,     -   if i<i_(s3), determine the global zoom affecting the current         image then calculate the precorrected image comprising the         inverse distortions,     -   else, if i>i_(s3), measure the luminous intensity of each image         line then calculate the global zoom affecting the entire current         image and calculate the local zoom affecting the image lines         then calculate the precorrected image comprising the inverse         distortions.

The resulting precorrected image is supplied to the display circuit of the cathode ray tube so as to restore a distortion-free image on the screen.

This method is implemented in the display circuit of the cathode ray tube television.

As a variant, the distortions created by the cathode ray tube may be characterized differently. They can be characterized by measuring the beam current for the images to be displayed instead of calculating the luminous intensity of the image lines and of the entire image. It is for example possible to determine, from a measurement of the beam current, an approximation of the local x-wise zoom affecting the lines of the current image. This characterization then consists in measuring, for a plurality of reference images, the beam current of each line as well as the corresponding X-wise zoom, then in deducing therefrom a relation between the beam current of the line and the X-wise zoom factor affecting the latter. The implementation of this variant consists for example in sampling the beam current of the current image at the line frequency so as to have one sample per line or in sampling the beam current of the current image at N times the line frequency and subsequently calculating the average of the n successive samples of a line. The X-wise local zoom is then defined for example by the following formula: ZL _(x)(L _(n))=σ·C _(n) +ζ·D _(n) +τ·E _(n) +ν·F _(n) where C_(n) is the beam current of line L_(n),

-   -   D_(n) is the integrated positive derivative of the beam current         C_(n),     -   E_(n) is the integrated negative derivative of the beam current         C_(n), and     -   F_(n) is the sliding integral of the beam current C_(n).

The variables D_(n), E_(n) and F_(n) are defined by the following formulae:

-   -   D_(n) is equal to d·D_(n−1)+(C_(n)−C_(n−1)) if C_(n)>C_(n−1) and         to 0 if C_(n)≦C_(n−1) with D₀=0;     -   E_(n) is equal to e·E_(n−)−(C_(n)−C_(n−1)) if C_(n)<C_(n−1) and         to 0 if C_(n)>C_(n−1) with E₀=0;     -   F_(n) is equal to f·F_(n−1)+C_(n).

The characterization of the local X-wise zoom from the beam current then consists in determining the parameters σ, ζ, τ, ν, d, e, and f by using reference images.

According to another variant, the global deformation affecting an image may be characterized on the basis of the anode voltage of the tube of the television. The model used is as follows: $\left\{ \begin{matrix} {x = {x_{0} + {{{f\left( x_{0} \right)} \cdot \Delta}\quad V}}} \\ {y = {y_{0} + {{{g\left( y_{0} \right)} \cdot \Delta}\quad V}}} \end{matrix}\quad \right.$ where

-   -   (x, y) is the final position, after deformation, of a pixel with         initial position (x₀, y₀),     -   ΔV is the voltage mismatch between the anode voltage for         reaching the position (x, y) and the anode voltage for the         position (x₀, y₀), and     -   f, and g are functions, dubbed sensitivities, modulating the         variation of the anode voltage.

The functions f and g represent respectively the sensitivity along the axes X and Y and have for example the following forms: ${f\left( x_{0} \right)} = {\left( {\frac{Q_{x}}{\sqrt{{\left( {\frac{Q_{x}^{2}}{x_{0}^{2}} + 1} \right)\frac{V}{V_{0}}} - 1}} - x_{0}} \right)/\left( {V - V_{0}} \right)}$ ${g\left( y_{0} \right)} = {\left( {\frac{Q_{y}}{\sqrt{{\left( {\frac{Q_{y}^{2}}{y_{0}^{2}} + 1} \right)\frac{V}{V_{0}}} - 1}} - y_{0}} \right)/\left( {V - V_{0}} \right)}$ where

-   -   V is the anode voltage for reaching the position (x, y);     -   V₀ is the anode voltage for the position (x₀, y₀), with ΔV=V−V₀,     -   Q_(x) and Q_(y) are the distances, respectively in the         dimensions X and Y, between the centre of deflection of the beam         and the faceplate of the cathode ray tube.

Complementary functions may be added to this basic model. It is for example possible to add a function dependent on y₀ modulating the x coordinate of the pixel.

The deformation model thus defined serves to calculate the position (x, y) on the screen of a pixel normally having the position (x₀, y₀). The method of the invention consists in deforming the image in the inverse sense. To calculate the deformation of the image, the model can be applied to all the pixels of the image or, to save calculation time, to a predetermined number of points per line, the deformation subsequently being propagated to the other points of the line for example by a cubic interpolation. It is important to reevaluate the model with each line so as to be able to take account of the deformations due to sudden variations of the anode voltage for example owing to the presence of a luminous object in the image. 

1. Method of processing a sequence of video images to be displayed with a cathode ray tube display device, which method is intended to correct the distortions created by the instability of the high voltage circuit of the cathode ray tube during the displaying of said images, said method comprises: characterizing the distortions created by the cathode ray tube, and for each image of the sequence to be displayed, calculating the distortions affecting it and generating a precorrected image comprising the inverse distortions.
 2. Method according to claim 1, wherein one of the distortions affecting the displaying of a current image being a global zoom varying as a function of the luminous intensity of said current image and of that of the images which precede it in the sequence to be displayed, said method comprises: determining the global zoom created by the cathode ray tube as a function of the luminous intensity of the current image and of that of the previous images; and for each image of the sequence to be displayed, calculating the global zoom affecting said current image and generating a precorrected image by applying the inverse of said global zoom to said current image.
 3. Method according to claim 1, wherein the distortions affecting the displaying of a current image being a global zoom varying as a function of the luminous intensity of said current image and of that of the images which precede it in the sequence to be displayed and a local zoom affecting each line of said current image and varying as a function of the intensity of the line considered and of those of the lines which precede it in said current image, said method comprises: characterizing the global zoom created by the cathode ray tube as a function of the luminous intensity of the current image and of that of the previous images; characterizing the local zoom created by the cathode ray tube as a function of the luminous intensity of the line considered and of that of the previous lines in the current image; and calculating the global zoom affecting the current image and the local zooms affecting each of its lines and generating a precorrected image by applying, to the whole image, the inverse of said global zoom and, to each of its lines, the inverse of the local zoom calculated for the line considered.
 4. Method according to claim 1, wherein the distortions affecting the displaying of a current image being a local zoom affecting each line of said current image and varying as a function of the beam current necessary for displaying the relevant line and the lines which precede it in said current image, said method comprises: characterizing the local zoom created by the cathode ray tube as a function of the beam current of the cathode ray tube for the relevant line and for the preceding lines in the current image; and calculating the local zooms affecting each of the lines of the current image from measurements of beam current of each of them and generating a precorrected image by applying to each of the lines of the current image the inverse of the local zoom calculated from the relevant line.
 5. Method according to claim 1, wherein said method comprises: characterizing the distortions created by the cathode ray tube for reference images as a function of the tube anode voltages necessary for the display of these images; and calculating the distortions affecting the current image from measurements of anode voltages necessary for the display of this image and generating a precorrected image comprising the inverse distortions. 